package com.example.helloworld;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.View;
import android.widget.Button;

public class MainActivity extends Activity {

	private Button flickrConnectButton;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_hello_world);

		this.flickrConnectButton = (Button) this.findViewById(R.id.flickrConnectButton);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		getMenuInflater().inflate(R.menu.activity_hello_world, menu);
		return true;
	}

	public void FlickrConnectClickHandler(View v){
		Intent intent = new Intent(MainActivity.this, FlickConnectActivity.class);
		intent.putExtra("from", "MainActivity");
		startActivity(intent);
	}
	
}
